﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="PlayerInfoForm.aspx.cs" Inherits="FootBallMatchProject.Piography.Client.PlayerInfoForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:FormView ID="PlayerView" runat="server" Width="100%">
        <ItemTemplate>
            <table class="style1">
                <tr>
                    <td colspan="4" dir="rtl">
                        <asp:Image ID="Image1" runat="server" 
                                    
                            
                            ImageUrl='<%# "../../Images/Player_Images/" + Eval("ID") + "/" + Eval("Image") %>' />
                    </td>
                </tr>
                <tr>
                    <td dir="rtl">
                        <asp:Label ID="Label3" runat="server" Text='<%# Bind("Name") %>' 
                                    Font-Bold="True"></asp:Label>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        <asp:Label ID="Label2" runat="server" Text="تاريخ الميلاد"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="Label4" runat="server" 
                                    
                            Text='<%# System.DateTime.Parse(Eval("BirthDate").ToString()).ToString("dd/MM/yyyy") %>'></asp:Label>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        <asp:Label ID="Label7" runat="server" Text="الموقع الرسمي"></asp:Label>
                    </td>
                    <td>
                        <asp:HyperLink ID="HyperLink1" runat="server" 
                                    NavigateUrl='<%# "http://" + Eval("OfficialWebSite") %>' 
                                    Text='<%# Bind("OfficialWebSite") %>'></asp:HyperLink>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        <asp:Label ID="Label5" runat="server" Text="النادي"></asp:Label>
                    </td>
                    <td>
                        <asp:LinkButton ID="LinkButton1" runat="server" 
                                    CommandArgument='<%# Eval("ClubID") %>' 
                                    PostBackUrl='<%# "ClubInfoForm.aspx?ID=" + Eval("ClubID") %>' 
                                    Text='<%# Bind("ClubName") %>'></asp:LinkButton>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        <asp:Label ID="Label11" runat="server" Text="المنتخب"></asp:Label>
                    </td>
                    <td>
                        <asp:LinkButton ID="LinkButton2" runat="server" 
                                    CommandArgument='<%# Eval("NationalTeamID") %>' 
                                    PostBackUrl='<%# "NationalTeamInfoForm.aspx?ID=" + Eval("NationalTeamID") %>' 
                                    Text='<%# Bind("NationalTeamName") %>'></asp:LinkButton>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        <asp:Label ID="Label14" runat="server" Text="مكان الولادة"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="Label28" runat="server" Text='<%# Bind("PlaceOfBirth") %>'></asp:Label>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        <asp:Label ID="Label29" runat="server" Text="البلد الأصلي"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="Label30" runat="server" Text='<%# Bind("HomeTownName") %>'></asp:Label>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" style="width: 20%">
                        <asp:Label ID="Label12" runat="server" Text="البرج"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="Label13" runat="server" Text='<%# Bind("Zo_diaq") %>' 
                                    Width="100%"></asp:Label>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td dir="rtl" colspan="4">
                        <asp:Label ID="Label32" runat="server" Text='<%# Bind("GeneralInformation") %>' 
                            Width="100%"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td dir="rtl" colspan="2">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:FormView>
</asp:Content>
